home *** CD-ROM | disk | FTP | other *** search
-
-
-
- WSMENU Version 2.5
- Documentation version 2.5 -- April 8, 1985
-
- MENU PATCHER FOR WORDSTAR V3.3 *
-
- For the IBM PC/XT/AT
-
- by
-
- James D. Gainsley
- 116 Third Avenue N.
- Minneapolis, MN 55401
- (612) 338-6124
- CompuServe [76703,1007]
-
- Copyright (C) 1984, 1985
-
-
- *****************************************************************
- * tm *
- * U S E - M E - W A R E *
- * *
- * If you use this program and find it of value, a *
- * contribution of $10.00 will be appreciated. *
- * *
- * LICENSE NOTICE *
- * *
- * You are encouraged to copy and share this program with *
- * others, on the conditions that the program is not modified, *
- * that no fee or consideration is charged, including 'disk *
- * copying fees', and that this documentation accompanies the *
- * main program, WSMENU.COM. *
- * *
- * There are no warranties either express or implied regarding *
- * the use of this program, and all risks reside with the user. *
- * *
- *****************************************************************
-
-
- GENERAL:
-
- This program is designed specifically for altering the 7 menus in
- WordStar version 3.3. The 7 menus are contained in the WordStar file,
- WSMSGS.OVR, which must be accessible to this program. These menus are:
-
- OPENING MENU
- MAIN MENU
- QUICK MENU (^Q)
- BLOCK MENU (^K)
- PRINT MENU (^P)
- ONSCREEN MENU (^O)
- HELP MENU (^J)
-
- A selected menu will be displayed on the upper portion of the screen.
- The user may then use the usual text editing functions, except Insert
- and Delete, to make any changes desired. The characters than can be
- entered are those having ASCII codes between 32 and 126, plus ASCII 02
- and 05, 23, 24, 25. Codes 24 & 25, the up and down arrows, are handy
- for indicators. A hi-lighting feature is also provided.
-
-
-
-
- WSMENU Version 2.5 Documentation Version 2.5 Page -2-
-
-
- After editing is completed, the new menu may be saved either to its
- place in the WSMSGS.OVR file, or to a separate file by itself. Prior
- to saving, the menu is printed on the bottom half of the screen, as it
- will actually be saved. This will NOT necessarily be as it will
- APPEAR in WordStar.
-
- A menu may be selected either from the WSMSGS.OVR file, or from a
- special file previously prepared from this program. It is possible to
- maintain a library of menus for use in various situations, which can
- quickly be placed into WordStar.
-
- The program is menu driven and mostly self-documenting.
-
-
- OPERATIONAL CHARACTERISTICS AND CAVEATS
-
- The actual number of bytes, which include "blank" spaces, comprising
- the menu may not be increased or decreased.
-
- The actual number of bytes per line of a menu may not be increased or
- decreased. The end of each line except the last line, is indicated by
- ASCII 14, a double musical note symbol, which may not be edited.
-
- Some WordStar menus contain three-character sets consisting of ASCII
- 05,nn,02, where nn is a character between ASCII 32 and 126. These
- sets allow WordStar to print within the menu "now ON " and "now OFF".
-
- IT IS VERY IMPORTANT THAT THESE SETS NOT BE ALTERED, AND THAT THEY
- REMAIN WITH THE DESCRIPTION TO WHICH THEY ORIGINALLY APPLIED.
-
- Because a line cannot be altered in length, these sets may be
- interchanged along with their descriptions, with other sets and their
- descriptions, but they may not be put on lines where no such set
- previously existed. Also, they may not be put on lines where the
- effect will be to increase the number of such sets on the line. The
- effect of doing so, will be to extend the line when called by
- WordStar, which will misalign the menu. This happens because the
- legends which they represent, i.e. " now ON " & " now OFF", are 9
- characters long, while the sets are only 3 characters long.
-
- If the number of such sets on a line are reduced, then the number of
- characters on the line, when called by WordStar, will be reduced,
- which will cause misalignment if care is not taken.
-
- The user is strongly advised to practice at first with a copy of
- WordStar in order to observe the effects of editing these sets.
-
- The only other character which could cause a problem if manipulated
- improperly, is the ACSII 23 an up/down underlined arrow, which appears
- only in the Opening Menu, and which controls the location of the
- STOP/CONTINUE print legend.
-
- Except for improper manipulation of these 3-character sets and the
- ASCII 23, no editing or saving function will adversely affect the
- operation of WordStar.
-
-
-
-
-
-
-
-
- WSMENU Version 2.5 Documentation Version 2.5 Page -3-
-
-
- EDITING KEYS:
-
- Cursor control keys, except PgUp, PgDn, DEL, INS, TAB, and the Control
- key functions associated with them. Note that the ENTER key does NOT
- insert a carriage return in the menu, which is not allowed. The
- Backspace key provides a destructive backspace function. Actual
- deletion or insertion of characters is not allowed. To blank a
- character at the cursor position or at the last editable position of
- each line, use the space bar.
-
- F1 = Toggle. Causes any entered character to be hi-lighted. WARNING: DO
- NOT USE WHEN ENTERING ASCII 02, 05, 23 !!!
-
- F2 = Prints ASCII 02 (Third Character of 3-character sets.)
-
- F3 = Prints ASCII 23
-
- F5 = Prints ASCII 05 (First Character of 3-character sets.)
-
- F9 = Exits the EDIT mode and proceeds to first stage of SAVE routine.
-
- ESC = Terminates EDIT and initiates first stage of program termination.
-
- All menus consist of 8 screen lines of varying lengths, which are
- reproduced on the first 8 lines of the screen. The cursor can be
- freely moved within this total area. Editing may be done only within
- the 8 lines and to the left of the end of line marker, ASCII 14, and
- the ASCII 0 or nul character, which is the last character of the last
- line, but is not indicated visually during the edit mode. (It is shown
- on the pre-save template.)
-
- *************************
-
- W A R N I N G !!
-
- THIS PROGRAM READS ROWS 1 THRU 8 ON THE SCREEN. THEREFORE, ANY
- PROGRAM WHICH WRITES TO THIS AREA WHILE THIS PROGRAM IS RUNNING WILL
- BE READ AS PART OF THE MENU TO BE SAVED. To avoid possible problems
- and unecessary rework, it is advisable to disable such programs before
- editing. The only part of a menu which cannot be edited is the ASCII
- 14, (end of line), character, and the zero (nul), which is the last
- character of the last line. However, the program ALWAYS preserves
- these characters, even though they may not appear on the 'to be saved
- template', so they need not be of concern in any event.
-
- After the editing portion is completed, a template of the new menu is
- printed on the bottom portion of the screen. This shows generally how
- the menu will appear in WordStar. The 3-character sets are replaced
- with " now OFF", and the space between 'now' and 'OFF' should contain
- the same character as in the 3-character original set, in each case.
- The word "OFF" has been used only for clarity. Whether the word OFF or
- ON actually appears in WordStar, depends upon WordStars settings.
- Note that both "OFF" and "ON " are given 3 spaces in WordStars menu
- formatting. Also, " now" is always preceded by 2 spaces. Note that
- end-of-line markers & the final '0' will always be in the same column.
- If that is ever NOT the case then an error has occured -- DO NOT SAVE
- THE MENU!! If an end-of-line character, ASCII 14 is missing, is need
- be of no concern, since the program replaces all of them and the final
- 0, physically in the file.
-
-
-
-
- WSMENU Version 2.5 Documentation Version 2.5 Page -4-
-
-
- Until you become familiar with the program operation, it is
- recommended that the following general procedure be used.
-
- Place a copy of the three WordStar files, WS.COM, WSMSGS.OVR, and
- WSOVLY1.OVR, on a disk, together with WSMENU. Make the drive
- containing the disk, the default drive (drive A: is suggested).
-
- Run the program and edit the desired menu, saving it back to the
- WSMSGS.OVR file, (WSMENU, Option 1.) Then run the WordStar program on
- the disk. Call the menu. If it meets your needs then exit WordStar
- and run WSMENU again, this time choosing Option 2, Save to a Separate
- File. As soon as the menu is presented, press F9 and save the menu,
- which will then be saved to a Separate file.
-
- After the saving process, you are given an option to Do More Menus.
- Choose this and then choose Option 3, Edit a Separate File and Save to
- a WSMSGS.OVR file. Then simply give the name of the Separate file and
- follow the program prompts to copy it to the actual file you wish to
- modify. This is of course a somewhat slower process, but it does
- insure against errors.
-
- MISCELLANEOUS:
-
- Drives A-F are supported and the colon need not be entered, however,
- no path or sub-directory support is provided. All file handling will
- be done to the current directory on the drive selected.
-
- WSMENU.COM, WSMSGS.OVR, and menu libraries (if any), need not be on
- the same drive.
-
- It does not matter if you have renamed the file WSMSGS.OVR. You are
- given the opportunity to enter the filename you are now using.
-
- If you choose to create separate menu files, you may use any valid DOS
- filename, but of course no path designation.
-
- To run the program, type WSMENU<cr> at the DOS prompt. To bypass the
- license notice, simply press the space bar. If not bypassed, press
- any key after the display. In any event, program will proceed after
- the license notice has displayed for about 5 seconds.
-
- Format for entering filespecs. Note that the dot must be entered. Paths
- are not allowed. (d: = drive)
-
- [d:]filename.[ext]
-
- The following table gives the locations of menus in the WSMSGS.OVR file.
- ============================================================
- Debug Addresses (hex) Total Bytes
- MENU Start Finish (decimal)
- ------------------------------------------------------------
- OPENING . . . . . . . . . 04b2 06ff 590
- MAIN . . . . . . . . . 0a15 0c94 640
- QUICK . . . . . . . . . 1197 1416 640
- BLOCK . . . . . . . . . 15f5 1868 628
- PRINT . . . . . . . . . 19f4 1c73 640
- ONSCREEN . . . . . . . . . 1df2 2041 592
- HELP . . . . . . . . . 2242 24aa 617
- ------------------------------------------------------------
- * WordStar is the Registered Trademark of MicroPro International Corp.
-
-
-
- ----------------------------------